package com.ws.interceptor;

import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component("recordAdminLoginInterceptor")
public class RecordAdminLoginInterceptor {
	
	@After("execution(public * com.ws.service..*.doLogin(..))")
	//@Before("execution(public * com.ws.service..*.doLogin(..))")
	public void recordLogin(){
		System.out.println("管理员登陆了...");
	}
	
}
